<template>
	<!-- 占据高度 -->
	<view :style="{height: statusBarHeight + 'px'}"></view>
</template>

<script>
	export default {
		data() {
			return {
				statusBarHeight: 0 //刘海屏的刘海高度
			}
		},
		mounted() {
			this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight; //	状态栏的高度
		}
	}
</script>

<style>
</style>